package com.ljq.MT_Basics;

/**
 * Description:
 * Author:ljq
 * Date:2025-02-19
 * Time:22:55
 */
public class TicketSales {
    public static void main(String[] args) {
        Ticket ticket = new Ticket();
        Thread thread = new Thread(ticket,"窗口1");
        Thread thread1 = new Thread(ticket,"窗口2");
        Thread thread2 = new Thread(ticket,"窗口3");

        thread.start();
        thread1.start();
        thread2.start();
    }
}
